package com.job.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.job.common.ResponseResult;
import com.job.common.enums.ResultCodeEnum;
import com.job.common.exception.AddCorporationException;
import com.job.common.exception.ParameterIsNullException;
import com.job.controller.req.CorporationInfoVO;
import com.job.controller.req.CorporationSearchVO;
import com.job.controller.req.HrCorporationVo;
import com.job.controller.resp.CorporationInfoRespVO;
import com.job.pojo.vo.CorporationVO;

public interface CorporationService {

    public ResponseResult<Page<CorporationVO>> corporationSearch(CorporationSearchVO corporationSearchVO) throws ParameterIsNullException;

    ResponseResult<CorporationInfoRespVO> corporationInfoContext(CorporationInfoVO corporationInfoVO) throws ParameterIsNullException;

    ResponseResult<ResultCodeEnum> corporationAdd(HrCorporationVo hrCorporationVo) throws AddCorporationException;
}
